<!DOCTYPE html>
<html lang="pt-BR">
    <head>
        <meta charset="UTF-8">
        <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
        <title>Alegro Móveis | {titulo}</title>
        <link rel="shortcut icon" href="<?php echo base_url('bootstrap/img/ico/favicon.ico'); ?>">
        <link href="<?php echo base_url('bootstrap/css/bootstrap.min.css');?>" rel="stylesheet" type="text/css" />
        <link href="<?php echo base_url('bootstrap/css/font-awesome.min.css');?>" rel="stylesheet" type="text/css" />
        <link href="<?php echo base_url('bootstrap/css/ionicons.min.css');?>" rel="stylesheet" type="text/css" />
        <link href="<?php echo base_url('bootstrap/css/datatables/dataTables.bootstrap.css');?>" rel="stylesheet" type="text/css" />
        <link href="<?php echo base_url('bootstrap/css/AdminLTE.css');?>" rel="stylesheet" type="text/css" />
    </head>
    <body class="skin-blue">
        <header class="header">
            <a href="<?php echo base_url('alegro');?>" class="logo">
                <img alt="Alegro Móveis" src="<?php echo base_url('bootstrap/img/logo.png');?>">
            </a>
            <nav class="navbar navbar-static-top" role="navigation">
                <a href="#" class="navbar-btn sidebar-toggle" data-toggle="offcanvas" role="button">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </a>
                <div class="navbar-right">
                    <ul class="nav navbar-nav">
                        <li class="dropdown user user-menu">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                <i class="glyphicon glyphicon-user"></i>
                                <span><?php echo $usuario; ?><!-- {usuario} --><i class="caret"></i></span>
                            </a>
                            <ul class="dropdown-menu">
                                <li class="user-header bg-light-alegro">
                                    <img src="<?php echo base_url('bootstrap/img/avatar3.png');?>" class="img-circle" alt="User Image" />
                                    <p>
                                        <small>Membro desde Nov. 2012</small>
                                    </p>
                                </li>
                                <li class="user-footer">
                                    <div class="pull-left">
                                        <a data-target="#myModal" data-toggle="modal" role="button" class="btn btn-default btn-flat">
                                        	 <i class="fa fa-lock text-success"></i> Alterar Senha
                                        </a>
                                    </div>
                                    <div class="pull-right">
                                        <a href="<?php echo base_url('alegro/logout'); ?>" class="btn btn-default btn-flat">
                                        	<i class="fa fa-power-off text-success"></i> Sair
                                        </a>
                                    </div>
                                </li>
                            </ul>
                        </li>
                    </ul>
                </div>
            </nav>
        </header>
        <div class="wrapper row-offcanvas row-offcanvas-left">